﻿@model Gateway.Console.Models.RestrictionsModel

<tr>
    @using (Html.BeginCollectionItem("Restrictions", Model.Id.ToString()))
    {
        @Html.HiddenFor(restriction => restriction.Id)
        @Html.HiddenFor(restriction => restriction.RoleId)
        <td>
            @Html.TextBoxFor(restriction => restriction.RestrictBelow, new { @class = "form-control full-width" })
            @Html.ValidationMessageFor(restriction => restriction.RestrictBelow)
        </td>
        <td>
            <a href="#" class="delete-restriction-row">Delete</a>
        </td>
    }
</tr>
